/*******************************************************************************
*  Project      : Minigate Golfin                                 
*  Program ID   : nicepay_result.js                                 
*  Description  : 결제
*
********************************************************************************
*  Program History                                                            
*  Date        Author    Description                                          
*  ----------  --------  -------------------------------------------------------- 
*  2012-05-21  김효순    Created.  
*******************************************************************************/

jQuery(function($){
	
	
	function clsComm()
	{
		
		this._init();
	}
	
	clsComm.prototype = {
		_init: function(){

		}
		
	}
	
	// 컨트롤
	function clsControl()
	{
		this.objComm = null;
		
		this._permitStart = null;
	}
	
	clsControl.prototype = {
		_init: function(){
			this._preload();
			
			this.objComm = new clsComm();
			
			this._beforeStart();
			this._bind();
		}
		, _preload: function(){
			this.q_reserve = _util.getParam("q_reserve");
		}
		, _beforeStart: function(){
			var thisClass = this;
			this._permitStart = {
				
			}
			
			_util.executeThread(function(){
				for(var k in thisClass._permitStart){
					if(!thisClass._permitStart[k]) return false;
				}
				
				return true;
			}, function(){
				_gf.spinEnd();
				thisClass._start();
			});
		}
		, _bind: function(){
			var thisClass = this;
			
			
		}
		, _start: function(){
			var thisClass = this;
			
			
		}
	}
	
	document.objControl = new clsControl();
	document.objControl._init();
});